package setting

import "gopkg.in/ini.v1"

var AdminUser string
var AdminPassword string
var AdminPath string

func initAdmin(config *ini.File) error {
	section := config.Section("admin")
	AdminUser = section.Key("user").MustString("")
	AdminPassword = section.Key("password").MustString("")
	AdminPath = section.Key("path").MustString("")
	return nil
}
